package com.sdk.paas.service;


import com.google.gson.reflect.TypeToken;
import com.sdk.paas.PaasResult;
import com.sdk.paas.conts.PaasUrlConstant;
import com.sdk.paas.core.AccessConfig;
import com.sdk.paas.core.base.BaseService;
import com.sdk.paas.req.TestReq;
import org.springframework.stereotype.Service;

/**
 * @author limaosheng
 * @create 2022-08-09 15:22
 * @desc
 */
@Service
public class PaasHelperService extends BaseService {

    public PaasResult<Long> testSave(TestReq req, AccessConfig config) {
        return postPaas(PaasUrlConstant.TEST_SAVE, req, new TypeToken<PaasResult<Long>>() {
        }.getType(), config);
    }


}
